home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cxl400.arc
/
CXLMOU.H
< prev
next >
Wrap
C/C++ Source or Header
|
1988-11-19
|
2KB
|
52 lines
/*
┌──────────────────────────────────────────────────────────────────────────┐
│ │
│ CXLMOU.H - CXL (c) 1987, 1988 by Mike Smedley. │
│ │
│ This header file contains function prototypes and definitions for │
│ Microsoft compatible mouse functions. │
│ │
└──────────────────────────────────────────────────────────────────────────┘
*/
#if defined(__TURBOC__)
#if __STDC__
#define _Cdecl
#else
#define _Cdecl cdecl
#endif
#define _Near
#elif defined(__ZTC__)
#define _Cdecl
#define _Near
#elif defined(M_I86) && !defined(__ZTC__)
#if !defined(NO_EXT_KEYS)
#define _Cdecl cdecl
#define _Near near
#else
#define _Cdecl
#define _Near
#endif
#endif
/*---------------------------[ Function Prototypes ]-------------------------*/
void _Cdecl msbpress(int button,int *bstat,int *bcount,int *x,int *y);
void _Cdecl msbreles(int button,int *bstat,int *bcount,int *x,int *y);
void _Cdecl mscursor(int curtype,int smask,int cmask);
void _Cdecl msgotoxy(int x,int y);
void _Cdecl mshbounds(int left,int right);
void _Cdecl mshidecur(void);
int _Cdecl msinit(void);
void _Cdecl msmotion(int *xcount,int *ycount);
void _Cdecl msshowcur(void);
void _Cdecl msspeed(int xratio,int yratio);
void _Cdecl msstatus(int *bstat,int *x,int *y);
void _Cdecl msvbounds(int top,int bottom);
extern int _Near _Cdecl _mouse;